package com.jay.beiange.efccp;

import android.app.Activity;
import android.os.Bundle;
import android.support.v7.widget.Toolbar;
import android.view.View;
import android.widget.TextView;

/**
 * Created by Administrator on 2016/12/25 0025.
 */

public class SupportActivity extends Activity {

    private Toolbar mToolbar;
    private TextView mToolbarTitle;

    @Override
    protected void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        setContentView(R.layout.activity_support);
        initView();
        initEvent();
    }

    private void initView() {
        mToolbar = (Toolbar) findViewById(R.id.id_toolbar);
        mToolbarTitle = (TextView) mToolbar.findViewById(R.id.id_toolbar_title);

    }
    private void initEvent() {
        mToolbarTitle.setText("技术支持");
        mToolbar.setNavigationIcon(R.mipmap.left_arrow);
        mToolbar.setNavigationOnClickListener(new View.OnClickListener() {
            @Override
            public void onClick(View v) {
                onBackPressed();
            }
        });
    }
}
